package HomeWork.HomeWork10.Cat;

/***/
public class animal {
    private String color;
    private int legNum;

    public animal() {
    }

    public animal(String color, int legNum) {
        this.color = color;
        this.legNum = legNum;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getLegNum() {
        return legNum;
    }

    public void setLegNum(int legNum) {
        this.legNum = legNum;
    }

    public void eat(){

    }
}
